﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyStudy.Logic.Percentage
{
    public class Percentage
    {
        private String subject;
        private String taskType;
        private int percentage;
        private int maxPercentage;

        public String Subject
        {
            get { return subject; }
            set { subject = value; }
        }

        public int PercentageValue
        {
            get { return percentage; }
            set { percentage = value; }
        }

        public int MaxPercentage
        {
            get { return maxPercentage; }
            set { maxPercentage = value; }
        }

        public string Type 
        {
            get { return taskType; }
            set { taskType = value; }
        } 

        public Percentage() 
            : this("", "", 0, 0)
        { 
        }

        public Percentage(String sub, string type, int percent, int maxPercent)
        {
            subject = sub;
            taskType = type;
            maxPercentage = maxPercent;
            percentage = percent;
        }
    }
}
